type net/netip.uint128
33 uses
net/netip (current package)
netip.go#L53: addr uint128
netip.go#L93: addr: uint128{0, 0xffff00000000 | uint64(addr[0])<<24 | uint64(addr[1])<<16 | uint64(addr[2])<<8 | uint64(addr[3])},
netip.go#L103: addr: uint128{
uint128.go#L13: type uint128 struct {
uint128.go#L20: func mask6(n int) uint128 {
uint128.go#L21: return uint128{^(^uint64(0) >> n), ^uint64(0) << (128 - n)}
uint128.go#L29: func (u uint128) isZero() bool { return u.hi|u.lo == 0 }
uint128.go#L32: func (u uint128) and(m uint128) uint128 {
uint128.go#L33: return uint128{u.hi & m.hi, u.lo & m.lo}
uint128.go#L37: func (u uint128) xor(m uint128) uint128 {
uint128.go#L38: return uint128{u.hi ^ m.hi, u.lo ^ m.lo}
uint128.go#L42: func (u uint128) or(m uint128) uint128 {
uint128.go#L43: return uint128{u.hi | m.hi, u.lo | m.lo}
uint128.go#L47: func (u uint128) not() uint128 {
uint128.go#L48: return uint128{^u.hi, ^u.lo}
uint128.go#L52: func (u uint128) subOne() uint128 {
uint128.go#L54: return uint128{u.hi - borrow, lo}
uint128.go#L58: func (u uint128) addOne() uint128 {
uint128.go#L60: return uint128{u.hi + carry, lo}
uint128.go#L67: func (u *uint128) halves() [2]*uint64 {
uint128.go#L73: func (u uint128) bitsSetFrom(bit uint8) uint128 {
uint128.go#L79: func (u uint128) bitsClearedFrom(bit uint8) uint128 {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |